home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-30 | 9.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 48 93 01 2f 2f 3d 3d 3d |........|H..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 4c |========|==..// L|
|00000060| 61 73 74 4d 61 6e 53 74 | 61 6e 64 69 6e 67 2e 0d |astManSt|anding..|
|00000070| 0a 2f 2f 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.//=====|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 0d 0a 63 6c 61 73 73 20 | 4c 61 73 74 4d 61 6e 53 |..class |LastManS|
|000000d0| 74 61 6e 64 69 6e 67 20 | 65 78 74 65 6e 64 73 20 |tanding |extends |
|000000e0| 44 65 61 74 68 4d 61 74 | 63 68 50 6c 75 73 3b 0d |DeathMat|chPlus;.|
|000000f0| 0a 0d 0a 76 61 72 20 63 | 6f 6e 66 69 67 20 62 6f |...var c|onfig bo|
|00000100| 6f 6c 20 62 48 69 67 68 | 44 65 74 61 69 6c 47 68 |ol bHigh|DetailGh|
|00000110| 6f 73 74 73 3b 0d 0a 76 | 61 72 28 29 20 69 6e 74 |osts;..v|ar() int|
|00000120| 20 4c 69 76 65 73 3b 0d | 0a 76 61 72 20 69 6e 74 | Lives;.|.var int|
|00000130| 20 54 6f 74 61 6c 4b 69 | 6c 6c 73 2c 20 4e 75 6d | TotalKi|lls, Num|
|00000140| 47 68 6f 73 74 73 3b 0d | 0a 76 61 72 20 6c 6f 63 |Ghosts;.|.var loc|
|00000150| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 41 6c |alized s|tring Al|
|00000160| 74 53 74 61 72 74 75 70 | 4d 65 73 73 61 67 65 3b |tStartup|Message;|
|00000170| 0d 0a 76 61 72 20 50 6c | 61 79 65 72 50 61 77 6e |..var Pl|ayerPawn|
|00000180| 20 4c 6f 63 61 6c 50 6c | 61 79 65 72 3b 0d 0a 0d | LocalPl|ayer;...|
|00000190| 0a 65 76 65 6e 74 20 49 | 6e 69 74 47 61 6d 65 28 |.event I|nitGame(|
|000001a0| 20 73 74 72 69 6e 67 20 | 4f 70 74 69 6f 6e 73 2c | string |Options,|
|000001b0| 20 6f 75 74 20 73 74 72 | 69 6e 67 20 45 72 72 6f | out str|ing Erro|
|000001c0| 72 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 73 |r )..{..|.local s|
|000001d0| 74 72 69 6e 67 20 49 6e | 4f 70 74 3b 0d 0a 0d 0a |tring In|Opt;....|
|000001e0| 09 54 69 6d 65 4c 69 6d | 69 74 20 3d 20 30 3b 0d |.TimeLim|it = 0;.|
|000001f0| 0a 09 53 75 70 65 72 2e | 49 6e 69 74 47 61 6d 65 |..Super.|InitGame|
|00000200| 28 4f 70 74 69 6f 6e 73 | 2c 20 45 72 72 6f 72 29 |(Options|, Error)|
|00000210| 3b 0d 0a 09 69 66 20 28 | 20 46 72 61 67 4c 69 6d |;...if (| FragLim|
|00000220| 69 74 20 3d 3d 20 30 20 | 29 0d 0a 09 09 4c 69 76 |it == 0 |)....Liv|
|00000230| 65 73 20 3d 20 31 30 3b | 0d 0a 09 65 6c 73 65 0d |es = 10;|...else.|
|00000240| 0a 09 09 4c 69 76 65 73 | 20 3d 20 46 72 61 67 6c |...Lives| = Fragl|
|00000250| 69 6d 69 74 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |imit;..}|....func|
|00000260| 74 69 6f 6e 20 66 6c 6f | 61 74 20 47 61 6d 65 54 |tion flo|at GameT|
|00000270| 68 72 65 61 74 41 64 64 | 28 42 6f 74 20 61 42 6f |hreatAdd|(Bot aBo|
|00000280| 74 2c 20 50 61 77 6e 20 | 4f 74 68 65 72 29 0d 0a |t, Pawn |Other)..|
|00000290| 7b 0d 0a 09 69 66 20 28 | 20 21 4f 74 68 65 72 2e |{...if (| !Other.|
|000002a0| 62 49 73 50 6c 61 79 65 | 72 20 29 20 0d 0a 09 09 |bIsPlaye|r ) ....|
|000002b0| 72 65 74 75 72 6e 20 30 | 3b 0d 0a 09 65 6c 73 65 |return 0|;...else|
|000002c0| 0d 0a 09 09 72 65 74 75 | 72 6e 20 30 2e 31 20 2a |....retu|rn 0.1 *|
|000002d0| 20 4f 74 68 65 72 2e 50 | 6c 61 79 65 72 52 65 70 | Other.P|layerRep|
|000002e0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 53 63 6f |lication|Info.Sco|
|000002f0| 72 65 3b 0d 0a 7d 0d 0a | 0d 0a 65 76 65 6e 74 20 |re;..}..|..event |
|00000300| 70 6c 61 79 65 72 70 61 | 77 6e 20 4c 6f 67 69 6e |playerpa|wn Login|
|00000310| 0d 0a 28 0d 0a 09 73 74 | 72 69 6e 67 20 50 6f 72 |..(...st|ring Por|
|00000320| 74 61 6c 2c 0d 0a 09 73 | 74 72 69 6e 67 20 4f 70 |tal,...s|tring Op|
|00000330| 74 69 6f 6e 73 2c 0d 0a | 09 6f 75 74 20 73 74 72 |tions,..|.out str|
|00000340| 69 6e 67 20 45 72 72 6f | 72 2c 0d 0a 09 63 6c 61 |ing Erro|r,...cla|
|00000350| 73 73 3c 70 6c 61 79 65 | 72 70 61 77 6e 3e 20 53 |ss<playe|rpawn> S|
|00000360| 70 61 77 6e 43 6c 61 73 | 73 0d 0a 29 0d 0a 7b 0d |pawnClas|s..)..{.|
|00000370| 0a 09 6c 6f 63 61 6c 20 | 70 6c 61 79 65 72 70 61 |..local |playerpa|
|00000380| 77 6e 20 4e 65 77 50 6c | 61 79 65 72 3b 0d 0a 09 |wn NewPl|ayer;...|
|00000390| 6c 6f 63 61 6c 20 50 61 | 77 6e 20 50 3b 0d 0a 0d |local Pa|wn P;...|
|000003a0| 0a 09 2f 2f 20 69 66 20 | 6d 6f 72 65 20 74 68 61 |..// if |more tha|
|000003b0| 6e 20 31 35 25 20 6f 66 | 20 74 68 65 20 67 61 6d |n 15% of| the gam|
|000003c0| 65 20 69 73 20 6f 76 65 | 72 2c 20 6d 75 73 74 20 |e is ove|r, must |
|000003d0| 6a 6f 69 6e 20 61 73 20 | 73 70 65 63 74 61 74 6f |join as |spectato|
|000003e0| 72 0d 0a 09 69 66 20 28 | 20 54 6f 74 61 6c 4b 69 |r...if (| TotalKi|
|000003f0| 6c 6c 73 20 3e 20 30 2e | 31 35 20 2a 20 28 4e 75 |lls > 0.|15 * (Nu|
|00000400| 6d 50 6c 61 79 65 72 73 | 20 2b 20 4e 75 6d 42 6f |mPlayers| + NumBo|
|00000410| 74 73 29 20 2a 20 4c 69 | 76 65 73 20 29 0d 0a 09 |ts) * Li|ves )...|
|00000420| 7b 0d 0a 09 09 53 70 61 | 77 6e 43 6c 61 73 73 20 |{....Spa|wnClass |
|00000430| 3d 20 63 6c 61 73 73 27 | 43 48 53 70 65 63 74 61 |= class'|CHSpecta|
|00000440| 74 6f 72 27 3b 0d 0a 09 | 09 69 66 20 28 20 28 4e |tor';...|.if ( (N|
|00000450| 75 6d 53 70 65 63 74 61 | 74 6f 72 73 20 3e 3d 20 |umSpecta|tors >= |
|00000460| 4d 61 78 53 70 65 63 74 | 61 74 6f 72 73 29 0d 0a |MaxSpect|ators)..|
|00000470| 09 09 09 26 26 20 28 28 | 4c 65 76 65 6c 2e 4e 65 |...&& ((|Level.Ne|
|00000480| 74 4d 6f 64 65 20 21 3d | 20 4e 4d 5f 4c 69 73 74 |tMode !=| NM_List|
|00000490| 65 6e 53 65 72 76 65 72 | 29 20 7c 7c 20 28 4e 75 |enServer|) || (Nu|
|000004a0| 6d 50 6c 61 79 65 72 73 | 20 3e 20 30 29 29 20 29 |mPlayers| > 0)) )|
|000004b0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 4d 61 78 53 70 65 |....{...|..MaxSpe|
|000004c0| 63 74 61 74 6f 72 73 2b | 2b 3b 0d 0a 09 09 7d 0d |ctators+|+;....}.|
|000004d0| 0a 09 7d 0d 0a 09 4e 65 | 77 50 6c 61 79 65 72 20 |..}...Ne|wPlayer |
|000004e0| 3d 20 53 75 70 65 72 2e | 4c 6f 67 69 6e 28 50 6f |= Super.|Login(Po|
|000004f0| 72 74 61 6c 2c 20 4f 70 | 74 69 6f 6e 73 2c 20 45 |rtal, Op|tions, E|
|00000500| 72 72 6f 72 2c 20 53 70 | 61 77 6e 43 6c 61 73 73 |rror, Sp|awnClass|
|00000510| 29 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 28 4e 65 77 |);.....i|f ( (New|
|00000520| 50 6c 61 79 65 72 20 21 | 3d 20 4e 6f 6e 65 29 20 |Player !|= None) |
|00000530| 26 26 20 21 4e 65 77 50 | 6c 61 79 65 72 2e 49 73 |&& !NewP|layer.Is|
|00000540| 41 28 27 53 70 65 63 74 | 61 74 6f 72 27 29 20 26 |A('Spect|ator') &|
|00000550| 26 20 21 4e 65 77 50 6c | 61 79 65 72 2e 49 73 41 |& !NewPl|ayer.IsA|
|00000560| 28 27 43 6f 6d 6d 61 6e | 64 65 72 27 29 20 29 0d |('Comman|der') ).|
|00000570| 0a 09 09 4e 65 77 50 6c | 61 79 65 72 2e 50 6c 61 |...NewPl|ayer.Pla|
|00000580| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00000590| 66 6f 2e 53 63 6f 72 65 | 20 3d 20 4c 69 76 65 73 |fo.Score| = Lives|
|000005a0| 3b 0d 0a 0d 0a 09 72 65 | 74 75 72 6e 20 4e 65 77 |;.....re|turn New|
|000005b0| 50 6c 61 79 65 72 3b 0d | 0a 7d 0d 0a 0d 0a 65 76 |Player;.|.}....ev|
|000005c0| 65 6e 74 20 50 6f 73 74 | 4c 6f 67 69 6e 28 20 70 |ent Post|Login( p|
|000005d0| 6c 61 79 65 72 70 61 77 | 6e 20 4e 65 77 50 6c 61 |layerpaw|n NewPla|
|000005e0| 79 65 72 20 29 0d 0a 7b | 0d 0a 09 69 66 28 20 4e |yer )..{|...if( N|
|000005f0| 65 77 50 6c 61 79 65 72 | 2e 50 6c 61 79 65 72 20 |ewPlayer|.Player |
|00000600| 21 3d 20 4e 6f 6e 65 20 | 26 26 20 56 69 65 77 70 |!= None |&& Viewp|
|00000610| 6f 72 74 28 4e 65 77 50 | 6c 61 79 65 72 2e 50 6c |ort(NewP|layer.Pl|
|00000620| 61 79 65 72 29 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |ayer) !=| None)..|
|00000630| 09 09 4c 6f 63 61 6c 50 | 6c 61 79 65 72 20 3d 20 |..LocalP|layer = |
|00000640| 4e 65 77 50 6c 61 79 65 | 72 3b 0d 0a 0d 0a 09 69 |NewPlaye|r;.....i|
|00000650| 66 20 28 20 28 54 6f 74 | 61 6c 4b 69 6c 6c 73 20 |f ( (Tot|alKills |
|00000660| 3e 20 30 2e 31 35 20 2a | 20 28 4e 75 6d 50 6c 61 |> 0.15 *| (NumPla|
|00000670| 79 65 72 73 20 2b 20 4e | 75 6d 42 6f 74 73 29 20 |yers + N|umBots) |
|00000680| 2a 20 4c 69 76 65 73 29 | 20 26 26 20 4e 65 77 50 |* Lives)| && NewP|
|00000690| 6c 61 79 65 72 2e 49 73 | 41 28 27 43 48 53 70 65 |layer.Is|A('CHSpe|
|000006a0| 63 74 61 74 6f 72 27 29 | 20 29 0d 0a 09 09 47 61 |ctator')| )....Ga|
|000006b0| 6d 65 4e 61 6d 65 20 3d | 20 41 6c 74 53 74 61 72 |meName =| AltStar|
|000006c0| 74 75 70 4d 65 73 73 61 | 67 65 3b 09 0d 0a 09 53 |tupMessa|ge;....S|
|000006d0| 75 70 65 72 2e 50 6f 73 | 74 4c 6f 67 69 6e 28 4e |uper.Pos|tLogin(N|
|000006e0| 65 77 50 6c 61 79 65 72 | 29 3b 0d 0a 09 47 61 6d |ewPlayer|);...Gam|
|000006f0| 65 4e 61 6d 65 20 3d 20 | 44 65 66 61 75 6c 74 2e |eName = |Default.|
|00000700| 47 61 6d 65 4e 61 6d 65 | 3b 0d 0a 7d 0d 0a 0d 0a |GameName|;..}....|
|00000710| 66 75 6e 63 74 69 6f 6e | 20 54 69 6d 65 72 28 29 |function| Timer()|
|00000720| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 50 61 77 6e |..{...lo|cal Pawn|
|00000730| 20 50 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 54 69 | P;.....|Super.Ti|
|00000740| 6d 65 72 28 29 3b 0d 0a | 09 46 6f 72 20 28 20 50 |mer();..|.For ( P|
|00000750| 3d 4c 65 76 65 6c 2e 50 | 61 77 6e 4c 69 73 74 3b |=Level.P|awnList;|
|00000760| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 50 2e 4e 65 | P!=None|; P=P.Ne|
|00000770| 78 74 50 61 77 6e 20 29 | 0d 0a 09 09 69 66 20 28 |xtPawn )|....if (|
|00000780| 20 50 2e 49 73 49 6e 53 | 74 61 74 65 28 27 46 65 | P.IsInS|tate('Fe|
|00000790| 69 67 6e 69 6e 67 44 65 | 61 74 68 27 29 20 29 0d |igningDe|ath') ).|
|000007a0| 0a 09 09 09 50 2e 47 69 | 62 62 65 64 42 79 28 50 |....P.Gi|bbedBy(P|
|000007b0| 29 3b 0d 0a 7d 0d 0a 20 | 0d 0a 66 75 6e 63 74 69 |);..}.. |..functi|
|000007c0| 6f 6e 20 62 6f 6f 6c 20 | 4e 65 65 64 50 6c 61 79 |on bool |NeedPlay|
|000007d0| 65 72 73 28 29 0d 0a 7b | 0d 0a 09 69 66 20 28 20 |ers()..{|...if ( |
|000007e0| 62 47 61 6d 65 45 6e 64 | 65 64 20 7c 7c 20 28 54 |bGameEnd|ed || (T|
|000007f0| 6f 74 61 6c 4b 69 6c 6c | 73 20 3e 20 30 2e 31 35 |otalKill|s > 0.15|
|00000800| 20 2a 20 28 4e 75 6d 50 | 6c 61 79 65 72 73 20 2b | * (NumP|layers +|
|00000810| 20 4e 75 6d 42 6f 74 73 | 29 20 2a 20 4c 69 76 65 | NumBots|) * Live|
|00000820| 73 29 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 66 |s) )....|return f|
|00000830| 61 6c 73 65 3b 0d 0a 09 | 72 65 74 75 72 6e 20 28 |alse;...|return (|
|00000840| 4e 75 6d 50 6c 61 79 65 | 72 73 20 2b 20 4e 75 6d |NumPlaye|rs + Num|
|00000850| 42 6f 74 73 20 3c 20 4d | 69 6e 50 6c 61 79 65 72 |Bots < M|inPlayer|
|00000860| 73 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |s);..}..|..functi|
|00000870| 6f 6e 20 62 6f 6f 6c 20 | 49 73 52 65 6c 65 76 61 |on bool |IsReleva|
|00000880| 6e 74 28 61 63 74 6f 72 | 20 4f 74 68 65 72 29 20 |nt(actor| Other) |
|00000890| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 4d 75 74 61 |..{...lo|cal Muta|
|000008a0| 74 6f 72 20 4d 3b 0d 0a | 09 6c 6f 63 61 6c 20 62 |tor M;..|.local b|
|000008b0| 6f 6f 6c 20 62 41 72 65 | 6e 61 4d 75 74 61 74 6f |ool bAre|naMutato|
|000008c0| 72 3b 0d 0a 0d 0a 09 66 | 6f 72 20 28 4d 20 3d 20 |r;.....f|or (M = |
|000008d0| 42 61 73 65 4d 75 74 61 | 74 6f 72 3b 20 4d 20 21 |BaseMuta|tor; M !|
|000008e0| 3d 20 4e 6f 6e 65 3b 20 | 4d 20 3d 20 4d 2e 4e 65 |= None; |M = M.Ne|
|000008f0| 78 74 4d 75 74 61 74 6f | 72 29 0d 0a 09 7b 0d 0a |xtMutato|r)...{..|
|00000900| 09 09 69 66 20 28 4d 2e | 49 73 41 28 27 41 72 65 |..if (M.|IsA('Are|
|00000910| 6e 61 27 29 29 0d 0a 09 | 09 09 62 41 72 65 6e 61 |na'))...|..bArena|
|00000920| 4d 75 74 61 74 6f 72 20 | 3d 20 54 72 75 65 3b 0d |Mutator |= True;.|
|00000930| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 20 28 20 62 41 72 |..}.....|if ( bAr|
|00000940| 65 6e 61 4d 75 74 61 74 | 6f 72 20 29 0d 0a 09 7b |enaMutat|or )...{|
|00000950| 0d 0a 09 09 69 66 20 28 | 20 4f 74 68 65 72 2e 49 |....if (| Other.I|
|00000960| 73 41 28 27 49 6e 76 65 | 6e 74 6f 72 79 27 29 09 |sA('Inve|ntory').|
|00000970| 26 26 20 28 49 6e 76 65 | 6e 74 6f 72 79 28 4f 74 |&& (Inve|ntory(Ot|
|00000980| 68 65 72 29 2e 4d 79 4d | 61 72 6b 65 72 20 21 3d |her).MyM|arker !=|
|00000990| 20 4e 6f 6e 65 29 20 26 | 26 20 21 4f 74 68 65 72 | None) &|& !Other|
|000009a0| 2e 49 73 41 28 27 55 54 | 5f 4a 75 6d 70 62 6f 6f |.IsA('UT|_Jumpboo|
|000009b0| 74 73 27 29 20 26 26 20 | 21 4f 74 68 65 72 2e 49 |ts') && |!Other.I|
|000009c0| 73 41 28 27 41 6d 6d 6f | 27 29 29 0d 0a 09 09 7b |sA('Ammo|'))....{|
|000009d0| 0d 0a 09 09 09 49 6e 76 | 65 6e 74 6f 72 79 28 4f |.....Inv|entory(O|
|000009e0| 74 68 65 72 29 2e 4d 79 | 4d 61 72 6b 65 72 2e 6d |ther).My|Marker.m|
|000009f0| 61 72 6b 65 64 49 74 65 | 6d 20 3d 20 4e 6f 6e 65 |arkedIte|m = None|
|00000a00| 3b 0d 0a 09 09 09 72 65 | 74 75 72 6e 20 66 61 6c |;.....re|turn fal|
|00000a10| 73 65 3b 0d 0a 09 09 7d | 0d 0a 09 7d 20 65 6c 73 |se;....}|...} els|
|00000a20| 65 20 7b 0d 0a 09 09 69 | 66 20 28 20 4f 74 68 65 |e {....i|f ( Othe|
|00000a30| 72 2e 49 73 41 28 27 49 | 6e 76 65 6e 74 6f 72 79 |r.IsA('I|nventory|
|00000a40| 27 29 09 26 26 20 28 49 | 6e 76 65 6e 74 6f 72 79 |').&& (I|nventory|
|00000a50| 28 4f 74 68 65 72 29 2e | 4d 79 4d 61 72 6b 65 72 |(Other).|MyMarker|
|00000a60| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 20 21 4f 74 | != None|) && !Ot|
|00000a70| 68 65 72 2e 49 73 41 28 | 27 55 54 5f 4a 75 6d 70 |her.IsA(|'UT_Jump|
|00000a80| 62 6f 6f 74 73 27 29 29 | 0d 0a 09 09 7b 0d 0a 09 |boots'))|....{...|
|00000a90| 09 09 49 6e 76 65 6e 74 | 6f 72 79 28 4f 74 68 65 |..Invent|ory(Othe|
|00000aa0| 72 29 2e 4d 79 4d 61 72 | 6b 65 72 2e 6d 61 72 6b |r).MyMar|ker.mark|
|00000ab0| 65 64 49 74 65 6d 20 3d | 20 4e 6f 6e 65 3b 0d 0a |edItem =| None;..|
|00000ac0| 09 09 09 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b |...retur|n false;|
|00000ad0| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 0d 0a 09 72 65 |....}...|}.....re|
|00000ae0| 74 75 72 6e 20 53 75 70 | 65 72 2e 49 73 52 65 6c |turn Sup|er.IsRel|
|00000af0| 65 76 61 6e 74 28 4f 74 | 68 65 72 29 3b 0d 0a 7d |evant(Ot|her);..}|
|00000b00| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |....func|tion boo|
|00000b10| 6c 20 52 65 73 74 61 72 | 74 50 6c 61 79 65 72 28 |l Restar|tPlayer(|
|00000b20| 20 70 61 77 6e 20 61 50 | 6c 61 79 65 72 20 29 09 | pawn aP|layer ).|
|00000b30| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 4e 61 76 69 |..{...lo|cal Navi|
|00000b40| 67 61 74 69 6f 6e 50 6f | 69 6e 74 20 73 74 61 72 |gationPo|int star|
|00000b50| 74 53 70 6f 74 3b 0d 0a | 09 6c 6f 63 61 6c 20 62 |tSpot;..|.local b|
|00000b60| 6f 6f 6c 20 66 6f 75 6e | 64 53 74 61 72 74 3b 0d |ool foun|dStart;.|
|00000b70| 0a 09 6c 6f 63 61 6c 20 | 50 61 77 6e 20 50 3b 0d |..local |Pawn P;.|
|00000b80| 0a 0d 0a 09 69 66 28 20 | 62 52 65 73 74 61 72 74 |....if( |bRestart|
|00000b90| 4c 65 76 65 6c 20 26 26 | 20 4c 65 76 65 6c 2e 4e |Level &&| Level.N|
|00000ba0| 65 74 4d 6f 64 65 21 3d | 4e 4d 5f 44 65 64 69 63 |etMode!=|NM_Dedic|
|00000bb0| 61 74 65 64 53 65 72 76 | 65 72 20 26 26 20 4c 65 |atedServ|er && Le|
|00000bc0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 21 3d 4e 4d 5f |vel.NetM|ode!=NM_|
|00000bd0| 4c 69 73 74 65 6e 53 65 | 72 76 65 72 20 29 0d 0a |ListenSe|rver )..|
|00000be0| 09 09 72 65 74 75 72 6e | 20 74 72 75 65 3b 0d 0a |..return| true;..|
|00000bf0| 0d 0a 09 69 66 20 28 20 | 61 50 6c 61 79 65 72 2e |...if ( |aPlayer.|
|00000c00| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00000c10| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 3c 20 31 20 |nInfo.Sc|ore < 1 |
|00000c20| 29 0d 0a 09 7b 0d 0a 09 | 09 42 72 6f 61 64 63 61 |)...{...|.Broadca|
|00000c30| 73 74 4c 6f 63 61 6c 69 | 7a 65 64 4d 65 73 73 61 |stLocali|zedMessa|
|00000c40| 67 65 28 63 6c 61 73 73 | 27 4c 4d 53 4f 75 74 4d |ge(class|'LMSOutM|
|00000c50| 65 73 73 61 67 65 27 2c | 20 30 2c 20 61 50 6c 61 |essage',| 0, aPla|
|00000c60| 79 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |yer.Play|erReplic|
|00000c70| 61 74 69 6f 6e 49 6e 66 | 6f 29 3b 0d 0a 09 09 46 |ationInf|o);....F|
|00000c80| 6f 72 20 28 20 50 3d 4c | 65 76 65 6c 2e 50 61 77 |or ( P=L|evel.Paw|
|00000c90| 6e 4c 69 73 74 3b 20 50 | 21 3d 4e 6f 6e 65 3b 20 |nList; P|!=None; |
|00000ca0| 50 3d 50 2e 4e 65 78 74 | 50 61 77 6e 20 29 0d 0a |P=P.Next|Pawn )..|
|00000cb0| 09 09 09 69 66 20 28 20 | 50 2e 62 49 73 50 6c 61 |...if ( |P.bIsPla|
|00000cc0| 79 65 72 20 26 26 20 28 | 50 2e 50 6c 61 79 65 72 |yer && (|P.Player|
|00000cd0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00000ce0| 53 63 6f 72 65 20 3e 3d | 20 31 29 20 29 0d 0a 09 |Score >=| 1) )...|
|00000cf0| 09 09 09 50 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |...P.Pla|yerRepli|
|00000d00| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 53 63 6f 72 65 |cationIn|fo.Score|
|00000d10| 20 2b 3d 20 30 2e 30 30 | 30 30 31 3b 0d 0a 09 09 | += 0.00|001;....|
|00000d20| 69 66 20 28 20 61 50 6c | 61 79 65 72 2e 49 73 41 |if ( aPl|ayer.IsA|
|00000d30| 28 27 42 6f 74 27 29 20 | 29 0d 0a 09 09 7b 0d 0a |('Bot') |)....{..|
|00000d40| 09 09 09 61 50 6c 61 79 | 65 72 2e 50 6c 61 79 65 |...aPlay|er.Playe|
|00000d50| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00000d60| 2e 62 49 73 53 70 65 63 | 74 61 74 6f 72 20 3d 20 |.bIsSpec|tator = |
|00000d70| 74 72 75 65 3b 0d 0a 09 | 09 09 61 50 6c 61 79 65 |true;...|..aPlaye|
|00000d80| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00000d90| 69 6f 6e 49 6e 66 6f 2e | 62 57 61 69 74 69 6e 67 |ionInfo.|bWaiting|
|00000da0| 50 6c 61 79 65 72 20 3d | 20 74 72 75 65 3b 0d 0a |Player =| true;..|
|00000db0| 09 09 09 61 50 6c 61 79 | 65 72 2e 47 6f 74 6f 53 |...aPlay|er.GotoS|
|00000dc0| 74 61 74 65 28 27 47 61 | 6d 65 45 6e 64 65 64 27 |tate('Ga|meEnded'|
|00000dd0| 29 3b 0d 0a 09 09 09 72 | 65 74 75 72 6e 20 66 61 |);.....r|eturn fa|
|00000de0| 6c 73 65 3b 20 2f 2f 20 | 62 6f 74 73 20 64 6f 6e |lse; // |bots don|
|00000df0| 27 74 20 72 65 73 70 61 | 77 6e 20 77 68 65 6e 20 |'t respa|wn when |
|00000e00| 67 68 6f 73 74 73 0d 0a | 09 09 7d 0d 0a 09 7d 0d |ghosts..|..}...}.|
|00000e10| 0a 0d 0a 09 73 74 61 72 | 74 53 70 6f 74 20 3d 20 |....star|tSpot = |
|00000e20| 46 69 6e 64 50 6c 61 79 | 65 72 53 74 61 72 74 28 |FindPlay|erStart(|
|00000e30| 4e 6f 6e 65 2c 20 32 35 | 35 29 3b 0d 0a 09 69 66 |None, 25|5);...if|
|00000e40| 28 20 73 74 61 72 74 53 | 70 6f 74 20 3d 3d 20 4e |( startS|pot == N|
|00000e50| 6f 6e 65 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 20 |one )...|.return |
|00000e60| 66 61 6c 73 65 3b 0d 0a | 09 09 0d 0a 09 66 6f 75 |false;..|.....fou|
|00000e70| 6e 64 53 74 61 72 74 20 | 3d 20 61 50 6c 61 79 65 |ndStart |= aPlaye|
|00000e80| 72 2e 53 65 74 4c 6f 63 | 61 74 69 6f 6e 28 73 74 |r.SetLoc|ation(st|
|00000e90| 61 72 74 53 70 6f 74 2e | 4c 6f 63 61 74 69 6f 6e |artSpot.|Location|
|00000ea0| 29 3b 0d 0a 09 69 66 28 | 20 66 6f 75 6e 64 53 74 |);...if(| foundSt|
|00000eb0| 61 72 74 20 29 0d 0a 09 | 7b 0d 0a 09 09 73 74 61 |art )...|{....sta|
|00000ec0| 72 74 53 70 6f 74 2e 50 | 6c 61 79 54 65 6c 65 70 |rtSpot.P|layTelep|
|00000ed0| 6f 72 74 45 66 66 65 63 | 74 28 61 50 6c 61 79 65 |ortEffec|t(aPlaye|
|00000ee0| 72 2c 20 74 72 75 65 29 | 3b 0d 0a 09 09 61 50 6c |r, true)|;....aPl|
|00000ef0| 61 79 65 72 2e 53 65 74 | 52 6f 74 61 74 69 6f 6e |ayer.Set|Rotation|
|00000f00| 28 73 74 61 72 74 53 70 | 6f 74 2e 52 6f 74 61 74 |(startSp|ot.Rotat|
|00000f10| 69 6f 6e 29 3b 0d 0a 09 | 09 61 50 6c 61 79 65 72 |ion);...|.aPlayer|
|00000f20| 2e 56 69 65 77 52 6f 74 | 61 74 69 6f 6e 20 3d 20 |.ViewRot|ation = |
|00000f30| 61 50 6c 61 79 65 72 2e | 52 6f 74 61 74 69 6f 6e |aPlayer.|Rotation|
|00000f40| 3b 0d 0a 09 09 61 50 6c | 61 79 65 72 2e 41 63 63 |;....aPl|ayer.Acc|
|00000f50| 65 6c 65 72 61 74 69 6f | 6e 20 3d 20 76 65 63 74 |eleratio|n = vect|
|00000f60| 28 30 2c 30 2c 30 29 3b | 0d 0a 09 09 61 50 6c 61 |(0,0,0);|....aPla|
|00000f70| 79 65 72 2e 56 65 6c 6f | 63 69 74 79 20 3d 20 76 |yer.Velo|city = v|
|00000f80| 65 63 74 28 30 2c 30 2c | 30 29 3b 0d 0a 09 09 61 |ect(0,0,|0);....a|
|00000f90| 50 6c 61 79 65 72 2e 48 | 65 61 6c 74 68 20 3d 20 |Player.H|ealth = |
|00000fa0| 61 50 6c 61 79 65 72 2e | 44 65 66 61 75 6c 74 2e |aPlayer.|Default.|
|00000fb0| 48 65 61 6c 74 68 3b 0d | 0a 09 09 61 50 6c 61 79 |Health;.|...aPlay|
|00000fc0| 65 72 2e 43 6c 69 65 6e | 74 53 65 74 52 6f 74 61 |er.Clien|tSetRota|
|00000fd0| 74 69 6f 6e 28 20 73 74 | 61 72 74 53 70 6f 74 2e |tion( st|artSpot.|
|00000fe0| 52 6f 74 61 74 69 6f 6e | 20 29 3b 0d 0a 09 09 61 |Rotation| );....a|
|00000ff0| 50 6c 61 79 65 72 2e 62 | 48 69 64 64 65 6e 20 3d |Player.b|Hidden =|
|00001000| 20 66 61 6c 73 65 3b 0d | 0a 09 09 61 50 6c 61 79 | false;.|...aPlay|
|00001010| 65 72 2e 53 6f 75 6e 64 | 44 61 6d 70 65 6e 69 6e |er.Sound|Dampenin|
|00001020| 67 20 3d 20 61 50 6c 61 | 79 65 72 2e 44 65 66 61 |g = aPla|yer.Defa|
|00001030| 75 6c 74 2e 53 6f 75 6e | 64 44 61 6d 70 65 6e 69 |ult.Soun|dDampeni|
|00001040| 6e 67 3b 0d 0a 09 09 69 | 66 20 28 20 61 50 6c 61 |ng;....i|f ( aPla|
|00001050| 79 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |yer.Play|erReplic|
|00001060| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 63 6f 72 65 20 |ationInf|o.Score |
|00001070| 3c 20 31 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 2f |< 1 )...|.{...../|
|00001080| 2f 20 54 68 69 73 20 67 | 75 79 20 69 73 20 61 20 |/ This g|uy is a |
|00001090| 67 68 6f 73 74 2e 20 20 | 41 64 64 20 61 20 76 69 |ghost. |Add a vi|
|000010a0| 73 75 61 6c 20 65 66 66 | 65 63 74 2e 0d 0a 09 09 |sual eff|ect.....|
|000010b0| 09 69 66 20 28 20 62 48 | 69 67 68 44 65 74 61 69 |.if ( bH|ighDetai|
|000010c0| 6c 47 68 6f 73 74 73 20 | 29 0d 0a 09 09 09 7b 0d |lGhosts |).....{.|
|000010d0| 0a 09 09 09 09 61 50 6c | 61 79 65 72 2e 53 74 79 |.....aPl|ayer.Sty|
|000010e0| 6c 65 20 3d 20 53 54 59 | 5f 54 72 61 6e 73 6c 75 |le = STY|_Translu|
|000010f0| 63 65 6e 74 3b 0d 0a 09 | 09 09 09 61 50 6c 61 79 |cent;...|...aPlay|
|00001100| 65 72 2e 53 63 61 6c 65 | 47 6c 6f 77 20 3d 20 30 |er.Scale|Glow = 0|
|00001110| 2e 35 3b 0d 0a 09 09 09 | 7d 20 0d 0a 09 09 09 65 |.5;.....|} .....e|
|00001120| 6c 73 65 20 0d 0a 09 09 | 09 09 61 50 6c 61 79 65 |lse ....|..aPlaye|
|00001130| 72 2e 62 48 69 64 64 65 | 6e 20 3d 20 74 72 75 65 |r.bHidde|n = true|
|00001140| 3b 0d 0a 09 09 09 61 50 | 6c 61 79 65 72 2e 50 6c |;.....aP|layer.Pl|
|00001150| 61 79 65 72 52 65 73 74 | 61 72 74 53 74 61 74 65 |ayerRest|artState|
|00001160| 20 3d 20 27 50 6c 61 79 | 65 72 53 70 65 63 74 61 | = 'Play|erSpecta|
|00001170| 74 69 6e 67 27 3b 0d 0a | 09 09 7d 20 0d 0a 09 09 |ting';..|..} ....|
|00001180| 65 6c 73 65 0d 0a 09 09 | 7b 0d 0a 09 09 09 61 50 |else....|{.....aP|
|00001190| 6c 61 79 65 72 2e 53 65 | 74 43 6f 6c 6c 69 73 69 |layer.Se|tCollisi|
|000011a0| 6f 6e 28 20 74 72 75 65 | 2c 20 74 72 75 65 2c 20 |on( true|, true, |
|000011b0| 74 72 75 65 20 29 3b 0d | 0a 09 09 09 41 64 64 44 |true );.|....AddD|
|000011c0| 65 66 61 75 6c 74 49 6e | 76 65 6e 74 6f 72 79 28 |efaultIn|ventory(|
|000011d0| 61 50 6c 61 79 65 72 29 | 3b 0d 0a 09 09 7d 0d 0a |aPlayer)|;....}..|
|000011e0| 09 7d 0d 0a 09 72 65 74 | 75 72 6e 20 66 6f 75 6e |.}...ret|urn foun|
|000011f0| 64 53 74 61 72 74 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |dStart;.|.}....fu|
|00001200| 6e 63 74 69 6f 6e 20 4c | 6f 67 6f 75 74 28 20 70 |nction L|ogout( p|
|00001210| 61 77 6e 20 45 78 69 74 | 69 6e 67 20 29 0d 0a 7b |awn Exit|ing )..{|
|00001220| 0d 0a 09 53 75 70 65 72 | 2e 4c 6f 67 6f 75 74 28 |...Super|.Logout(|
|00001230| 45 78 69 74 69 6e 67 29 | 3b 0d 0a 0d 0a 09 2f 2f |Exiting)|;.....//|
|00001240| 20 44 6f 6e 27 74 20 72 | 75 6e 20 65 6e 64 67 61 | Don't r|un endga|
|00001250| 6d 65 20 69 66 20 69 74 | 27 73 20 74 68 65 20 6c |me if it|'s the l|
|00001260| 6f 63 61 6c 20 70 6c 61 | 79 65 72 20 6c 65 61 76 |ocal pla|yer leav|
|00001270| 69 6e 67 0d 0a 09 2f 2f | 20 2d 20 73 74 61 74 73 |ing...//| - stats|
|00001280| 20 73 61 76 65 63 6f 6e | 66 69 67 20 6d 65 73 73 | savecon|fig mess|
|00001290| 65 73 20 75 70 20 73 61 | 76 65 64 20 64 65 66 61 |es up sa|ved defa|
|000012a0| 75 6c 74 73 0d 0a 09 69 | 66 28 20 4c 6f 63 61 6c |ults...i|f( Local|
|000012b0| 50 6c 61 79 65 72 20 3d | 3d 20 4e 6f 6e 65 20 7c |Player =|= None ||
|000012c0| 7c 20 45 78 69 74 69 6e | 67 20 21 3d 20 4c 6f 63 || Exitin|g != Loc|
|000012d0| 61 6c 50 6c 61 79 65 72 | 20 29 0d 0a 09 09 43 68 |alPlayer| )....Ch|
|000012e0| 65 63 6b 45 6e 64 47 61 | 6d 65 28 29 3b 0d 0a 7d |eckEndGa|me();..}|
|000012f0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4b 69 6c |....func|tion Kil|
|00001300| 6c 65 64 28 20 70 61 77 | 6e 20 6b 69 6c 6c 65 72 |led( paw|n killer|
|00001310| 2c 20 70 61 77 6e 20 4f | 74 68 65 72 2c 20 6e 61 |, pawn O|ther, na|
|00001320| 6d 65 20 64 61 6d 61 67 | 65 54 79 70 65 20 29 0d |me damag|eType ).|
|00001330| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 4f |.{...loc|al int O|
|00001340| 6c 64 46 72 61 67 4c 69 | 6d 69 74 3b 0d 0a 0d 0a |ldFragLi|mit;....|
|00001350| 09 4f 6c 64 46 72 61 67 | 4c 69 6d 69 74 20 3d 20 |.OldFrag|Limit = |
|00001360| 46 72 61 67 4c 69 6d 69 | 74 3b 0d 0a 09 46 72 61 |FragLimi|t;...Fra|
|00001370| 67 4c 69 6d 69 74 20 3d | 20 30 3b 0d 0a 0d 0a 09 |gLimit =| 0;.....|
|00001380| 69 66 20 28 20 4f 74 68 | 65 72 2e 62 49 73 50 6c |if ( Oth|er.bIsPl|
|00001390| 61 79 65 72 20 29 0d 0a | 09 09 54 6f 74 61 6c 4b |ayer )..|..TotalK|
|000013a0| 69 6c 6c 73 2b 2b 3b 0d | 0a 09 09 09 0d 0a 09 53 |ills++;.|.......S|
|000013b0| 75 70 65 72 2e 4b 69 6c | 6c 65 64 28 4b 69 6c 6c |uper.Kil|led(Kill|
|000013c0| 65 72 2c 20 4f 74 68 65 | 72 2c 20 64 61 6d 61 67 |er, Othe|r, damag|
|000013d0| 65 54 79 70 65 29 3b 09 | 0d 0a 0d 0a 09 46 72 61 |eType);.|.....Fra|
|000013e0| 67 4c 69 6d 69 74 20 3d | 20 4f 6c 64 46 72 61 67 |gLimit =| OldFrag|
|000013f0| 4c 69 6d 69 74 3b 0d 0a | 0d 0a 09 43 68 65 63 6b |Limit;..|...Check|
|00001400| 45 6e 64 47 61 6d 65 28 | 29 3b 0d 0a 7d 0d 0a 0d |EndGame(|);..}...|
|00001410| 0a 66 75 6e 63 74 69 6f | 6e 20 43 68 65 63 6b 45 |.functio|n CheckE|
|00001420| 6e 64 47 61 6d 65 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |ndGame()|..{...lo|
|00001430| 63 61 6c 20 50 61 77 6e | 20 50 61 77 6e 4c 69 6e |cal Pawn| PawnLin|
|00001440| 6b 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 53 |k;...loc|al int S|
|00001450| 74 69 6c 6c 50 6c 61 79 | 69 6e 67 3b 0d 0a 09 6c |tillPlay|ing;...l|
|00001460| 6f 63 61 6c 20 62 6f 6f | 6c 20 62 53 74 69 6c 6c |ocal boo|l bStill|
|00001470| 48 75 6d 61 6e 3b 0d 0a | 09 6c 6f 63 61 6c 20 62 |Human;..|.local b|
|00001480| 6f 74 20 42 2c 20 44 3b | 0d 0a 0d 0a 09 69 66 20 |ot B, D;|.....if |
|00001490| 28 20 62 47 61 6d 65 45 | 6e 64 65 64 20 29 0d 0a |( bGameE|nded )..|
|000014a0| 09 09 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 09 2f 2f |..return|;.....//|
|000014b0| 20 43 68 65 63 6b 20 74 | 6f 20 73 65 65 20 69 66 | Check t|o see if|
|000014c0| 20 65 76 65 72 79 6f 6e | 65 20 69 73 20 61 20 67 | everyon|e is a g|
|000014d0| 68 6f 73 74 2e 0d 0a 09 | 4e 75 6d 47 68 6f 73 74 |host....|NumGhost|
|000014e0| 73 20 3d 20 30 3b 0d 0a | 09 66 6f 72 20 28 20 50 |s = 0;..|.for ( P|
|000014f0| 61 77 6e 4c 69 6e 6b 3d | 4c 65 76 65 6c 2e 50 61 |awnLink=|Level.Pa|
|00001500| 77 6e 4c 69 73 74 3b 20 | 50 61 77 6e 4c 69 6e 6b |wnList; |PawnLink|
|00001510| 21 3d 4e 6f 6e 65 3b 20 | 50 61 77 6e 4c 69 6e 6b |!=None; |PawnLink|
|00001520| 3d 50 61 77 6e 4c 69 6e | 6b 2e 6e 65 78 74 50 61 |=PawnLin|k.nextPa|
|00001530| 77 6e 20 29 0d 0a 09 09 | 69 66 20 28 20 50 61 77 |wn )....|if ( Paw|
|00001540| 6e 4c 69 6e 6b 2e 62 49 | 73 50 6c 61 79 65 72 20 |nLink.bI|sPlayer |
|00001550| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 20 28 20 |)....{..|...if ( |
|00001560| 50 61 77 6e 4c 69 6e 6b | 2e 50 6c 61 79 65 72 52 |PawnLink|.PlayerR|
|00001570| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 53 |eplicati|onInfo.S|
|00001580| 63 6f 72 65 20 3c 20 31 | 20 29 0d 0a 09 09 09 09 |core < 1| )......|
|00001590| 4e 75 6d 47 68 6f 73 74 | 73 2b 2b 3b 0d 0a 09 09 |NumGhost|s++;....|
|000015a0| 09 65 6c 73 65 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |.else...|..{.....|
|000015b0| 09 69 66 20 28 20 50 61 | 77 6e 4c 69 6e 6b 2e 49 |.if ( Pa|wnLink.I|
|000015c0| 73 41 28 27 50 6c 61 79 | 65 72 50 61 77 6e 27 29 |sA('Play|erPawn')|
|000015d0| 20 29 0d 0a 09 09 09 09 | 09 62 53 74 69 6c 6c 48 | )......|.bStillH|
|000015e0| 75 6d 61 6e 20 3d 20 74 | 72 75 65 3b 0d 0a 09 09 |uman = t|rue;....|
|000015f0| 09 09 53 74 69 6c 6c 50 | 6c 61 79 69 6e 67 2b 2b |..StillP|laying++|
|00001600| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 7d 0d 0a 0d 0a |;.....}.|...}....|
|00001610| 09 2f 2f 20 45 6e 64 20 | 74 68 65 20 67 61 6d 65 |.// End |the game|
|00001620| 20 69 66 20 74 68 65 72 | 65 20 69 73 20 6f 6e 6c | if ther|e is onl|
|00001630| 79 20 6f 6e 65 20 6d 61 | 6e 20 73 74 61 6e 64 69 |y one ma|n standi|
|00001640| 6e 67 2e 0d 0a 09 69 66 | 20 28 20 53 74 69 6c 6c |ng....if| ( Still|
|00001650| 50 6c 61 79 69 6e 67 20 | 3c 20 32 20 29 0d 0a 09 |Playing |< 2 )...|
|00001660| 09 45 6e 64 47 61 6d 65 | 28 22 6c 61 73 74 6d 61 |.EndGame|("lastma|
|00001670| 6e 73 74 61 6e 64 69 6e | 67 22 29 3b 0d 0a 09 65 |nstandin|g");...e|
|00001680| 6c 73 65 20 69 66 20 28 | 20 21 62 53 74 69 6c 6c |lse if (| !bStill|
|00001690| 48 75 6d 61 6e 20 29 0d | 0a 09 7b 0d 0a 09 09 2f |Human ).|..{..../|
|000016a0| 2f 20 6e 6f 20 68 75 6d | 61 6e 73 20 6c 65 66 74 |/ no hum|ans left|
|000016b0| 20 2d 20 67 65 74 20 62 | 6f 74 73 20 74 6f 20 62 | - get b|ots to b|
|000016c0| 65 20 6d 6f 72 65 20 61 | 67 67 72 65 73 73 69 76 |e more a|ggressiv|
|000016d0| 65 20 61 6e 64 20 66 69 | 6e 69 73 68 20 75 70 0d |e and fi|nish up.|
|000016e0| 0a 09 09 66 6f 72 20 28 | 20 50 61 77 6e 4c 69 6e |...for (| PawnLin|
|000016f0| 6b 3d 4c 65 76 65 6c 2e | 50 61 77 6e 4c 69 73 74 |k=Level.|PawnList|
|00001700| 3b 20 50 61 77 6e 4c 69 | 6e 6b 21 3d 4e 6f 6e 65 |; PawnLi|nk!=None|
|00001710| 3b 20 50 61 77 6e 4c 69 | 6e 6b 3d 50 61 77 6e 4c |; PawnLi|nk=PawnL|
|00001720| 69 6e 6b 2e 4e 65 78 74 | 50 61 77 6e 20 29 0d 0a |ink.Next|Pawn )..|
|00001730| 09 09 7b 0d 0a 09 09 09 | 42 20 3d 20 42 6f 74 28 |..{.....|B = Bot(|
|00001740| 50 61 77 6e 4c 69 6e 6b | 29 3b 0d 0a 09 09 09 69 |PawnLink|);.....i|
|00001750| 66 20 28 20 42 20 21 3d | 20 4e 6f 6e 65 20 29 0d |f ( B !=| None ).|
|00001760| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 42 2e 43 61 6d |....{...|...B.Cam|
|00001770| 70 69 6e 67 52 61 74 65 | 20 3d 20 30 3b 0d 0a 09 |pingRate| = 0;...|
|00001780| 09 09 09 42 2e 41 67 67 | 72 65 73 73 69 76 65 6e |...B.Agg|ressiven|
|00001790| 65 73 73 20 2b 3d 20 30 | 2e 38 3b 0d 0a 09 09 09 |ess += 0|.8;.....|
|000017a0| 09 69 66 20 28 20 44 20 | 3d 3d 20 4e 6f 6e 65 20 |.if ( D |== None |
|000017b0| 29 0d 0a 09 09 09 09 09 | 44 20 3d 20 42 3b 0d 0a |).......|D = B;..|
|000017c0| 09 09 09 09 65 6c 73 65 | 20 69 66 20 28 20 42 2e |....else| if ( B.|
|000017d0| 45 6e 65 6d 79 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |Enemy ==| None ).|
|000017e0| 0a 09 09 09 09 09 42 2e | 53 65 74 45 6e 65 6d 79 |......B.|SetEnemy|
|000017f0| 28 44 29 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 7d 0d |(D);....|.}....}.|
|00001800| 0a 09 7d 09 09 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |..}....}|....func|
|00001810| 74 69 6f 6e 20 53 63 6f | 72 65 4b 69 6c 6c 28 70 |tion Sco|reKill(p|
|00001820| 61 77 6e 20 4b 69 6c 6c | 65 72 2c 20 70 61 77 6e |awn Kill|er, pawn|
|00001830| 20 4f 74 68 65 72 29 0d | 0a 7b 0d 0a 09 4f 74 68 | Other).|.{...Oth|
|00001840| 65 72 2e 44 69 65 43 6f | 75 6e 74 2b 2b 3b 0d 0a |er.DieCo|unt++;..|
|00001850| 09 69 66 20 28 4f 74 68 | 65 72 2e 50 6c 61 79 65 |.if (Oth|er.Playe|
|00001860| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001870| 2e 53 63 6f 72 65 20 3e | 20 30 29 0d 0a 09 09 4f |.Score >| 0)....O|
|00001880| 74 68 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ther.Pla|yerRepli|
|00001890| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 53 63 6f 72 65 |cationIn|fo.Score|
|000018a0| 20 2d 3d 20 31 3b 0d 0a | 09 69 66 28 20 28 6b 69 | -= 1;..|.if( (ki|
|000018b0| 6c 6c 65 72 20 21 3d 20 | 4f 74 68 65 72 29 20 26 |ller != |Other) &|
|000018c0| 26 20 28 6b 69 6c 6c 65 | 72 20 21 3d 20 4e 6f 6e |& (kille|r != Non|
|000018d0| 65 29 20 29 0d 0a 09 09 | 6b 69 6c 6c 65 72 2e 6b |e) )....|killer.k|
|000018e0| 69 6c 6c 43 6f 75 6e 74 | 2b 2b 3b 0d 0a 09 42 61 |illCount|++;...Ba|
|000018f0| 73 65 4d 75 74 61 74 6f | 72 2e 53 63 6f 72 65 4b |seMutato|r.ScoreK|
|00001900| 69 6c 6c 28 4b 69 6c 6c | 65 72 2c 20 4f 74 68 65 |ill(Kill|er, Othe|
|00001910| 72 29 3b 0d 0a 7d 09 0d | 0a 0d 0a 66 75 6e 63 74 |r);..}..|...funct|
|00001920| 69 6f 6e 20 62 6f 6f 6c | 20 50 69 63 6b 75 70 51 |ion bool| PickupQ|
|00001930| 75 65 72 79 28 20 50 61 | 77 6e 20 4f 74 68 65 72 |uery( Pa|wn Other|
|00001940| 2c 20 49 6e 76 65 6e 74 | 6f 72 79 20 69 74 65 6d |, Invent|ory item|
|00001950| 20 29 0d 0a 7b 0d 0a 09 | 69 66 20 28 20 4f 74 68 | )..{...|if ( Oth|
|00001960| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001970| 74 69 6f 6e 49 6e 66 6f | 2e 53 63 6f 72 65 20 3c |tionInfo|.Score <|
|00001980| 20 31 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 66 | 1 )....|return f|
|00001990| 61 6c 73 65 3b 0d 0a 09 | 0d 0a 09 72 65 74 75 72 |alse;...|...retur|
|000019a0| 6e 20 53 75 70 65 72 2e | 50 69 63 6b 75 70 51 75 |n Super.|PickupQu|
|000019b0| 65 72 79 28 20 4f 74 68 | 65 72 2c 20 69 74 65 6d |ery( Oth|er, item|
|000019c0| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2a 0d 0a 41 73 | );..}..|../*..As|
|000019d0| 73 65 73 73 42 6f 74 41 | 74 74 69 74 75 64 65 20 |sessBotA|ttitude |
|000019e0| 72 65 74 75 72 6e 73 20 | 61 20 76 61 6c 75 65 20 |returns |a value |
|000019f0| 74 68 61 74 20 74 72 61 | 6e 73 6c 61 74 65 73 20 |that tra|nslates |
|00001a00| 74 6f 20 61 6e 20 61 74 | 74 69 74 75 64 65 0d 0a |to an at|titude..|
|00001a10| 09 09 30 20 3d 20 41 54 | 54 49 54 55 44 45 5f 46 |..0 = AT|TITUDE_F|
|00001a20| 65 61 72 3b 0d 0a 09 09 | 31 20 3d 20 72 65 74 75 |ear;....|1 = retu|
|00001a30| 72 6e 20 41 54 54 49 54 | 55 44 45 5f 48 61 74 65 |rn ATTIT|UDE_Hate|
|00001a40| 3b 0d 0a 09 09 32 20 3d | 20 72 65 74 75 72 6e 20 |;....2 =| return |
|00001a50| 41 54 54 49 54 55 44 45 | 5f 49 67 6e 6f 72 65 3b |ATTITUDE|_Ignore;|
|00001a60| 0d 0a 09 09 33 20 3d 20 | 72 65 74 75 72 6e 20 41 |....3 = |return A|
|00001a70| 54 54 49 54 55 44 45 5f | 46 72 69 65 6e 64 6c 79 |TTITUDE_|Friendly|
|00001a80| 3b 0d 0a 2a 2f 09 0d 0a | 66 75 6e 63 74 69 6f 6e |;..*/...|function|
|00001a90| 20 62 79 74 65 20 41 73 | 73 65 73 73 42 6f 74 41 | byte As|sessBotA|
|00001aa0| 74 74 69 74 75 64 65 28 | 42 6f 74 20 61 42 6f 74 |ttitude(|Bot aBot|
|00001ab0| 2c 20 50 61 77 6e 20 4f | 74 68 65 72 29 0d 0a 7b |, Pawn O|ther)..{|
|00001ac0| 0d 0a 09 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 41 |...local| float A|
|00001ad0| 64 6a 75 73 74 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |djust;..|...if ( |
|00001ae0| 61 42 6f 74 2e 62 4e 6f | 76 69 63 65 20 29 0d 0a |aBot.bNo|vice )..|
|00001af0| 09 09 41 64 6a 75 73 74 | 20 3d 20 2d 30 2e 32 3b |..Adjust| = -0.2;|
|00001b00| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 41 64 6a 75 73 |...else.|...Adjus|
|00001b10| 74 20 3d 20 2d 30 2e 32 | 20 2d 20 30 2e 31 20 2a |t = -0.2| - 0.1 *|
|00001b20| 20 61 42 6f 74 2e 53 6b | 69 6c 6c 3b 0d 0a 09 69 | aBot.Sk|ill;...i|
|00001b30| 66 20 28 20 4f 74 68 65 | 72 2e 62 49 73 50 6c 61 |f ( Othe|r.bIsPla|
|00001b40| 79 65 72 20 26 26 20 28 | 4f 74 68 65 72 2e 50 6c |yer && (|Other.Pl|
|00001b50| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00001b60| 6e 66 6f 2e 53 63 6f 72 | 65 20 3c 20 31 29 20 29 |nfo.Scor|e < 1) )|
|00001b70| 0d 0a 09 09 72 65 74 75 | 72 6e 20 32 3b 20 2f 2f |....retu|rn 2; //|
|00001b80| 62 6f 74 73 20 69 67 6e | 6f 72 65 20 67 68 6f 73 |bots ign|ore ghos|
|00001b90| 74 73 0d 0a 09 65 6c 73 | 65 20 69 66 20 28 20 61 |ts...els|e if ( a|
|00001ba0| 42 6f 74 2e 62 4b 61 6d | 69 6b 61 7a 65 20 29 0d |Bot.bKam|ikaze ).|
|00001bb0| 0a 09 09 72 65 74 75 72 | 6e 20 31 3b 0d 0a 09 65 |...retur|n 1;...e|
|00001bc0| 6c 73 65 20 69 66 20 28 | 20 4f 74 68 65 72 2e 49 |lse if (| Other.I|
|00001bd0| 73 41 28 27 54 65 61 6d | 43 61 6e 6e 6f 6e 27 29 |sA('Team|Cannon')|
|00001be0| 0d 0a 09 09 7c 7c 20 28 | 61 42 6f 74 2e 52 65 6c |....|| (|aBot.Rel|
|00001bf0| 61 74 69 76 65 53 74 72 | 65 6e 67 74 68 28 4f 74 |ativeStr|ength(Ot|
|00001c00| 68 65 72 29 20 3e 20 61 | 42 6f 74 2e 41 67 67 72 |her) > a|Bot.Aggr|
|00001c10| 65 73 73 69 76 65 6e 65 | 73 73 20 2d 20 41 64 6a |essivene|ss - Adj|
|00001c20| 75 73 74 29 20 29 0d 0a | 09 09 72 65 74 75 72 6e |ust) )..|..return|
|00001c30| 20 30 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 72 65 | 0;...el|se....re|
|00001c40| 74 75 72 6e 20 31 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |turn 1;.|.}....fu|
|00001c50| 6e 63 74 69 6f 6e 20 41 | 64 64 44 65 66 61 75 6c |nction A|ddDefaul|
|00001c60| 74 49 6e 76 65 6e 74 6f | 72 79 28 20 70 61 77 6e |tInvento|ry( pawn|
|00001c70| 20 50 6c 61 79 65 72 50 | 61 77 6e 20 29 0d 0a 7b | PlayerP|awn )..{|
|00001c80| 0d 0a 09 6c 6f 63 61 6c | 20 57 65 61 70 6f 6e 20 |...local| Weapon |
|00001c90| 77 65 61 70 3b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |weap;...|local in|
|00001ca0| 74 20 69 3b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 76 |t i;...l|ocal inv|
|00001cb0| 65 6e 74 6f 72 79 20 49 | 6e 76 3b 0d 0a 09 6c 6f |entory I|nv;...lo|
|00001cc0| 63 61 6c 20 66 6c 6f 61 | 74 20 46 3b 0d 0a 0d 0a |cal floa|t F;....|
|00001cd0| 09 69 66 20 28 20 50 6c | 61 79 65 72 50 61 77 6e |.if ( Pl|ayerPawn|
|00001ce0| 2e 49 73 41 28 27 53 70 | 65 63 74 61 74 6f 72 27 |.IsA('Sp|ectator'|
|00001cf0| 29 20 7c 7c 20 28 62 52 | 65 71 75 69 72 65 52 65 |) || (bR|equireRe|
|00001d00| 61 64 79 20 26 26 20 28 | 43 6f 75 6e 74 44 6f 77 |ady && (|CountDow|
|00001d10| 6e 20 3e 20 30 29 29 20 | 29 0d 0a 09 09 72 65 74 |n > 0)) |)....ret|
|00001d20| 75 72 6e 3b 0d 0a 09 53 | 75 70 65 72 2e 41 64 64 |urn;...S|uper.Add|
|00001d30| 44 65 66 61 75 6c 74 49 | 6e 76 65 6e 74 6f 72 79 |DefaultI|nventory|
|00001d40| 28 50 6c 61 79 65 72 50 | 61 77 6e 29 3b 0d 0a 0d |(PlayerP|awn);...|
|00001d50| 0a 09 47 69 76 65 57 65 | 61 70 6f 6e 28 50 6c 61 |..GiveWe|apon(Pla|
|00001d60| 79 65 72 50 61 77 6e 2c | 20 22 42 6f 74 70 61 63 |yerPawn,| "Botpac|
|00001d70| 6b 2e 53 68 6f 63 6b 52 | 69 66 6c 65 22 29 3b 0d |k.ShockR|ifle");.|
|00001d80| 0a 09 47 69 76 65 57 65 | 61 70 6f 6e 28 50 6c 61 |..GiveWe|apon(Pla|
|00001d90| 79 65 72 50 61 77 6e 2c | 20 22 42 6f 74 70 61 63 |yerPawn,| "Botpac|
|00001da0| 6b 2e 55 54 5f 42 69 6f | 52 69 66 6c 65 22 29 3b |k.UT_Bio|Rifle");|
|00001db0| 0d 0a 09 47 69 76 65 57 | 65 61 70 6f 6e 28 50 6c |...GiveW|eapon(Pl|
|00001dc0| 61 79 65 72 50 61 77 6e | 2c 20 22 42 6f 74 70 61 |ayerPawn|, "Botpa|
|00001dd0| 63 6b 2e 52 69 70 70 65 | 72 22 29 3b 0d 0a 09 47 |ck.Rippe|r");...G|
|00001de0| 69 76 65 57 65 61 70 6f | 6e 28 50 6c 61 79 65 72 |iveWeapo|n(Player|
|00001df0| 50 61 77 6e 2c 20 22 42 | 6f 74 70 61 63 6b 2e 55 |Pawn, "B|otpack.U|
|00001e00| 54 5f 46 6c 61 6b 43 61 | 6e 6e 6f 6e 22 29 3b 0d |T_FlakCa|nnon");.|
|00001e10| 0a 0d 0a 09 69 66 20 28 | 20 50 6c 61 79 65 72 50 |....if (| PlayerP|
|00001e20| 61 77 6e 2e 49 73 41 28 | 27 50 6c 61 79 65 72 50 |awn.IsA(|'PlayerP|
|00001e30| 61 77 6e 27 29 20 29 0d | 0a 09 7b 0d 0a 09 09 47 |awn') ).|..{....G|
|00001e40| 69 76 65 57 65 61 70 6f | 6e 28 50 6c 61 79 65 72 |iveWeapo|n(Player|
|00001e50| 50 61 77 6e 2c 20 22 42 | 6f 74 70 61 63 6b 2e 53 |Pawn, "B|otpack.S|
|00001e60| 6e 69 70 65 72 52 69 66 | 6c 65 22 29 3b 0d 0a 09 |niperRif|le");...|
|00001e70| 09 47 69 76 65 57 65 61 | 70 6f 6e 28 50 6c 61 79 |.GiveWea|pon(Play|
|00001e80| 65 72 50 61 77 6e 2c 20 | 22 42 6f 74 70 61 63 6b |erPawn, |"Botpack|
|00001e90| 2e 50 75 6c 73 65 47 75 | 6e 22 29 3b 0d 0a 09 09 |.PulseGu|n");....|
|00001ea0| 47 69 76 65 57 65 61 70 | 6f 6e 28 50 6c 61 79 65 |GiveWeap|on(Playe|
|00001eb0| 72 50 61 77 6e 2c 20 22 | 42 6f 74 70 61 63 6b 2e |rPawn, "|Botpack.|
|00001ec0| 4d 69 6e 69 67 75 6e 32 | 22 29 3b 0d 0a 09 09 47 |Minigun2|");....G|
|00001ed0| 69 76 65 57 65 61 70 6f | 6e 28 50 6c 61 79 65 72 |iveWeapo|n(Player|
|00001ee0| 50 61 77 6e 2c 20 22 42 | 6f 74 70 61 63 6b 2e 55 |Pawn, "B|otpack.U|
|00001ef0| 54 5f 45 69 67 68 74 62 | 61 6c 6c 22 29 3b 0d 0a |T_Eightb|all");..|
|00001f00| 09 09 50 6c 61 79 65 72 | 50 61 77 6e 2e 53 77 69 |..Player|Pawn.Swi|
|00001f10| 74 63 68 54 6f 42 65 73 | 74 57 65 61 70 6f 6e 28 |tchToBes|tWeapon(|
|00001f20| 29 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 0d 0a 09 |);...}..|.else...|
|00001f30| 7b 0d 0a 09 09 2f 2f 20 | 72 61 6e 64 6f 6d 69 7a |{....// |randomiz|
|00001f40| 65 20 6f 72 64 65 72 20 | 66 6f 72 20 62 6f 74 73 |e order |for bots|
|00001f50| 20 73 6f 20 74 68 65 79 | 20 64 6f 6e 27 74 20 61 | so they| don't a|
|00001f60| 6c 77 61 79 73 20 75 73 | 65 20 74 68 65 20 73 61 |lways us|e the sa|
|00001f70| 6d 65 20 77 65 61 70 6f | 6e 0d 0a 09 09 46 20 3d |me weapo|n....F =|
|00001f80| 20 46 52 61 6e 64 28 29 | 3b 0d 0a 09 09 69 66 20 | FRand()|;....if |
|00001f90| 28 20 46 20 3c 20 30 2e | 37 20 29 20 0d 0a 09 09 |( F < 0.|7 ) ....|
|00001fa0| 7b 0d 0a 09 09 09 47 69 | 76 65 57 65 61 70 6f 6e |{.....Gi|veWeapon|
|00001fb0| 28 50 6c 61 79 65 72 50 | 61 77 6e 2c 20 22 42 6f |(PlayerP|awn, "Bo|
|00001fc0| 74 70 61 63 6b 2e 53 6e | 69 70 65 72 52 69 66 6c |tpack.Sn|iperRifl|
|00001fd0| 65 22 29 3b 0d 0a 09 09 | 09 47 69 76 65 57 65 61 |e");....|.GiveWea|
|00001fe0| 70 6f 6e 28 50 6c 61 79 | 65 72 50 61 77 6e 2c 20 |pon(Play|erPawn, |
|00001ff0| 22 42 6f 74 70 61 63 6b | 2e 50 75 6c 73 65 47 75 |"Botpack|.PulseGu|
|00002000| 6e 22 29 3b 0d 0a 09 09 | 09 69 66 20 28 20 46 20 |n");....|.if ( F |
|00002010| 3c 20 30 2e 34 20 29 0d | 0a 09 09 09 7b 0d 0a 09 |< 0.4 ).|....{...|
|00002020| 09 09 09 47 69 76 65 57 | 65 61 70 6f 6e 28 50 6c |...GiveW|eapon(Pl|
|00002030| 61 79 65 72 50 61 77 6e | 2c 20 22 42 6f 74 70 61 |ayerPawn|, "Botpa|
|00002040| 63 6b 2e 4d 69 6e 69 67 | 75 6e 32 22 29 3b 0d 0a |ck.Minig|un2");..|
|00002050| 09 09 09 09 47 69 76 65 | 57 65 61 70 6f 6e 28 50 |....Give|Weapon(P|
|00002060| 6c 61 79 65 72 50 61 77 | 6e 2c 20 22 42 6f 74 70 |layerPaw|n, "Botp|
|00002070| 61 63 6b 2e 55 54 5f 45 | 69 67 68 74 62 61 6c 6c |ack.UT_E|ightball|
|00002080| 22 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 09 65 6c |");.....|}.....el|
|00002090| 73 65 0d 0a 09 09 09 7b | 0d 0a 09 09 09 09 47 69 |se.....{|......Gi|
|000020a0| 76 65 57 65 61 70 6f 6e | 28 50 6c 61 79 65 72 50 |veWeapon|(PlayerP|
|000020b0| 61 77 6e 2c 20 22 42 6f | 74 70 61 63 6b 2e 55 54 |awn, "Bo|tpack.UT|
|000020c0| 5f 45 69 67 68 74 62 61 | 6c 6c 22 29 3b 0d 0a 09 |_Eightba|ll");...|
|000020d0| 09 09 09 47 69 76 65 57 | 65 61 70 6f 6e 28 50 6c |...GiveW|eapon(Pl|
|000020e0| 61 79 65 72 50 61 77 6e | 2c 20 22 42 6f 74 70 61 |ayerPawn|, "Botpa|
|000020f0| 63 6b 2e 4d 69 6e 69 67 | 75 6e 32 22 29 3b 0d 0a |ck.Minig|un2");..|
|00002100| 09 09 09 7d 0d 0a 09 09 | 7d 0d 0a 09 09 65 6c 73 |...}....|}....els|
|00002110| 65 0d 0a 09 09 7b 0d 0a | 09 09 09 47 69 76 65 57 |e....{..|...GiveW|
|00002120| 65 61 70 6f 6e 28 50 6c | 61 79 65 72 50 61 77 6e |eapon(Pl|ayerPawn|
|00002130| 2c 20 22 42 6f 74 70 61 | 63 6b 2e 4d 69 6e 69 67 |, "Botpa|ck.Minig|
|00002140| 75 6e 32 22 29 3b 0d 0a | 09 09 09 47 69 76 65 57 |un2");..|...GiveW|
|00002150| 65 61 70 6f 6e 28 50 6c | 61 79 65 72 50 61 77 6e |eapon(Pl|ayerPawn|
|00002160| 2c 20 22 42 6f 74 70 61 | 63 6b 2e 55 54 5f 45 69 |, "Botpa|ck.UT_Ei|
|00002170| 67 68 74 62 61 6c 6c 22 | 29 3b 0d 0a 09 09 09 69 |ghtball"|);.....i|
|00002180| 66 20 28 20 46 20 3c 20 | 30 2e 38 38 20 29 0d 0a |f ( F < |0.88 )..|
|00002190| 09 09 09 7b 0d 0a 09 09 | 09 09 47 69 76 65 57 65 |...{....|..GiveWe|
|000021a0| 61 70 6f 6e 28 50 6c 61 | 79 65 72 50 61 77 6e 2c |apon(Pla|yerPawn,|
|000021b0| 20 22 42 6f 74 70 61 63 | 6b 2e 53 6e 69 70 65 72 | "Botpac|k.Sniper|
|000021c0| 52 69 66 6c 65 22 29 3b | 0d 0a 09 09 09 09 47 69 |Rifle");|......Gi|
|000021d0| 76 65 57 65 61 70 6f 6e | 28 50 6c 61 79 65 72 50 |veWeapon|(PlayerP|
|000021e0| 61 77 6e 2c 20 22 42 6f | 74 70 61 63 6b 2e 50 75 |awn, "Bo|tpack.Pu|
|000021f0| 6c 73 65 47 75 6e 22 29 | 3b 0d 0a 09 09 09 7d 0d |lseGun")|;.....}.|
|00002200| 0a 09 09 09 65 6c 73 65 | 0d 0a 09 09 09 7b 0d 0a |....else|.....{..|
|00002210| 09 09 09 09 47 69 76 65 | 57 65 61 70 6f 6e 28 50 |....Give|Weapon(P|
|00002220| 6c 61 79 65 72 50 61 77 | 6e 2c 20 22 42 6f 74 70 |layerPaw|n, "Botp|
|00002230| 61 63 6b 2e 50 75 6c 73 | 65 47 75 6e 22 29 3b 0d |ack.Puls|eGun");.|
|00002240| 0a 09 09 09 09 47 69 76 | 65 57 65 61 70 6f 6e 28 |.....Giv|eWeapon(|
|00002250| 50 6c 61 79 65 72 50 61 | 77 6e 2c 20 22 42 6f 74 |PlayerPa|wn, "Bot|
|00002260| 70 61 63 6b 2e 53 6e 69 | 70 65 72 52 69 66 6c 65 |pack.Sni|perRifle|
|00002270| 22 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 7d 0d 0a |");.....|}....}..|
|00002280| 09 7d 0d 0a 09 09 09 09 | 0d 0a 09 66 6f 72 20 28 |.}......|...for (|
|00002290| 20 69 6e 76 3d 50 6c 61 | 79 65 72 50 61 77 6e 2e | inv=Pla|yerPawn.|
|000022a0| 69 6e 76 65 6e 74 6f 72 | 79 3b 20 69 6e 76 21 3d |inventor|y; inv!=|
|000022b0| 4e 6f 6e 65 3b 20 69 6e | 76 3d 69 6e 76 2e 69 6e |None; in|v=inv.in|
|000022c0| 76 65 6e 74 6f 72 79 20 | 29 0d 0a 09 7b 0d 0a 09 |ventory |)...{...|
|000022d0| 09 77 65 61 70 20 3d 20 | 57 65 61 70 6f 6e 28 69 |.weap = |Weapon(i|
|000022e0| 6e 76 29 3b 0d 0a 09 09 | 69 66 20 28 20 28 77 65 |nv);....|if ( (we|
|000022f0| 61 70 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |ap != No|ne) && (|
|00002300| 77 65 61 70 2e 41 6d 6d | 6f 54 79 70 65 20 21 3d |weap.Amm|oType !=|
|00002310| 20 4e 6f 6e 65 29 20 29 | 0d 0a 09 09 09 77 65 61 | None) )|.....wea|
|00002320| 70 2e 41 6d 6d 6f 54 79 | 70 65 2e 41 6d 6d 6f 41 |p.AmmoTy|pe.AmmoA|
|00002330| 6d 6f 75 6e 74 20 3d 20 | 77 65 61 70 2e 41 6d 6d |mount = |weap.Amm|
|00002340| 6f 54 79 70 65 2e 4d 61 | 78 41 6d 6d 6f 3b 0d 0a |oType.Ma|xAmmo;..|
|00002350| 09 7d 0d 0a 0d 0a 09 69 | 6e 76 20 3d 20 53 70 61 |.}.....i|nv = Spa|
|00002360| 77 6e 28 63 6c 61 73 73 | 27 41 72 6d 6f 72 32 27 |wn(class|'Armor2'|
|00002370| 29 3b 0d 0a 09 69 66 28 | 20 69 6e 76 20 21 3d 20 |);...if(| inv != |
|00002380| 4e 6f 6e 65 20 29 0d 0a | 09 7b 0d 0a 09 09 69 6e |None )..|.{....in|
|00002390| 76 2e 62 48 65 6c 64 49 | 74 65 6d 20 3d 20 74 72 |v.bHeldI|tem = tr|
|000023a0| 75 65 3b 0d 0a 09 09 69 | 6e 76 2e 52 65 73 70 61 |ue;....i|nv.Respa|
|000023b0| 77 6e 54 69 6d 65 20 3d | 20 30 2e 30 3b 0d 0a 09 |wnTime =| 0.0;...|
|000023c0| 09 69 6e 76 2e 47 69 76 | 65 54 6f 28 50 6c 61 79 |.inv.Giv|eTo(Play|
|000023d0| 65 72 50 61 77 6e 29 3b | 0d 0a 09 7d 0d 0a 7d 09 |erPawn);|...}..}.|
|000023e0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4d 6f 64 |....func|tion Mod|
|000023f0| 69 66 79 42 65 68 61 76 | 69 6f 75 72 28 42 6f 74 |ifyBehav|iour(Bot|
|00002400| 20 4e 65 77 42 6f 74 29 | 0d 0a 7b 0d 0a 09 2f 2f | NewBot)|..{...//|
|00002410| 20 53 65 74 20 74 68 65 | 20 42 6f 74 27 73 20 4c | Set the| Bot's L|
|00002420| 69 76 65 73 0d 0a 09 4e | 65 77 42 6f 74 2e 50 6c |ives...N|ewBot.Pl|
|00002430| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002440| 6e 66 6f 2e 53 63 6f 72 | 65 20 3d 20 4c 69 76 65 |nfo.Scor|e = Live|
|00002450| 73 3b 0d 0a 0d 0a 09 4e | 65 77 42 6f 74 2e 43 61 |s;.....N|ewBot.Ca|
|00002460| 6d 70 69 6e 67 52 61 74 | 65 20 2b 3d 20 46 52 61 |mpingRat|e += FRa|
|00002470| 6e 64 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |nd();..}|....func|
|00002480| 74 69 6f 6e 20 62 6f 6f | 6c 20 4f 6e 65 4f 6e 4f |tion boo|l OneOnO|
|00002490| 6e 65 28 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |ne()..{.|..return|
|000024a0| 20 28 20 4e 75 6d 50 6c | 61 79 65 72 73 20 2b 20 | ( NumPl|ayers + |
|000024b0| 4e 75 6d 42 6f 74 73 20 | 2d 20 4e 75 6d 47 68 6f |NumBots |- NumGho|
|000024c0| 73 74 73 20 3d 3d 20 32 | 20 29 3b 0d 0a 7d 0d 0a |sts == 2| );..}..|
|000024d0| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+